var chrome = {
	"type" : "mousedown",
	"y" : 20,
	"which" : 1,
	"target" : {},
	"pageX" : 95,
	"altKey" : false,
	"button" : 0,
	"layerX" : 95,
	"layerY" : 20,
	"detail" : 1,
	"offsetX" : 87,
	"clientX" : 95,
	"screenX" : 1122,
	"metaKey" : false,
	"bubbles" : true,
	"keyCode" : 0,
	"ctrlKey" : false,
	"clientY" : 20,
	"offsetY" : 12,
	"shiftKey" : false,
	"charCode" : 0,
	"toElement" : {},
	"timeStamp" : {},
	"eventPhase" : 2,
	"srcElement" : {},
	"returnValue" : true,
	"cancelable" : true,
	"cancelBubble" : false,
	"dataTransfer" : {},
	"clipboardData" : "undefined",
	"relatedTarget" : {},
	"currentTarget" : {},
	"fromElement" : {},
	"screenY" : 259,
	"pageY" : 20,
	"view" : {},
	"x" : 95,
	"initMouseEvent" : function() {
	},
	"initUIEvent" : function() {
	},
	"stopPropagation" : function() {
	},
	"preventDefault" : function() {
	},
	"initEvent" : function() {
	},
	"CAPTURING_PHASE" : 1,
	"AT_TARGET" : 2,
	"BUBBLING_PHASE" : 3,
	"MOUSEDOWN" : 1,
	"MOUSEUP" : 2,
	"MOUSEOVER" : 4,
	"MOUSEOUT" : 8,
	"MOUSEMOVE" : 16,
	"MOUSEDRAG" : 32,
	"CLICK" : 64,
	"DBLCLICK" : 128,
	"KEYDOWN" : 256,
	"KEYUP" : 512,
	"KEYPRESS" : 1024,
	"DRAGDROP" : 2048,
	"FOCUS" : 4096,
	"BLUR" : 8192,
	"SELECT" : 16384,
	"CHANGE" : 32768
}

var ff = {
	"type" : "mousedown",
	"target" : {},
	"currentTarget" : {},
	"eventPhase" : 3,
	"bubbles" : true,
	"cancelable" : true,
	"timeStamp" : 12290031,
	"stopPropagation" : function() {
	},
	"preventDefault" : function() {
	},
	"initEvent" : function() {
	},
	"view" : {},
	"detail" : 1,
	"initUIEvent" : function() {
	},
	"screenX" : 1024,
	"screenY" : 297,
	"clientX" : 77,
	"clientY" : 21,
	"ctrlKey" : false,
	"shiftKey" : false,
	"altKey" : false,
	"metaKey" : false,
	"button" : 0,
	"relatedTarget" : {},
	"initMouseEvent" : function() {
	},
	"CAPTURING_PHASE" : 1,
	"AT_TARGET" : 2,
	"BUBBLING_PHASE" : 3,
	"getPreventDefault" : function() {
	},
	"layerX" : 77,
	"layerY" : 21,
	"pageX" : 77,
	"pageY" : 21,
	"which" : 1,
	"rangeParent" : {},
	"rangeOffset" : 11,
	"cancelBubble" : false,
	"isChar" : false,
	"SCROLL_PAGE_UP" : -32768,
	"SCROLL_PAGE_DOWN" : 32768,
	"originalTarget" : {},
	"explicitOriginalTarget" : {},
	"preventBubble" : function() {
	},
	"preventCapture" : function() {
	},
	"isTrusted" : true,
	"MOUSEDOWN" : 1,
	"MOUSEUP" : 2,
	"MOUSEOVER" : 4,
	"MOUSEOUT" : 8,
	"MOUSEMOVE" : 16,
	"MOUSEDRAG" : 32,
	"CLICK" : 64,
	"DBLCLICK" : 128,
	"KEYDOWN" : 256,
	"KEYUP" : 512,
	"KEYPRESS" : 1024,
	"DRAGDROP" : 2048,
	"FOCUS" : 4096,
	"BLUR" : 8192,
	"SELECT" : 16384,
	"CHANGE" : 32768,
	"RESET" : 65536,
	"SUBMIT" : 131072,
	"SCROLL" : 262144,
	"LOAD" : 524288,
	"UNLOAD" : 1048576,
	"XFER_DONE" : 2097152,
	"ABORT" : 4194304,
	"ERROR" : 8388608,
	"LOCATE" : 16777216,
	"MOVE" : 33554432,
	"RESIZE" : 67108864,
	"FORWARD" : 134217728,
	"HELP" : 268435456,
	"BACK" : 536870912,
	"TEXT" : 1073741824,
	"ALT_MASK" : 1,
	"CONTROL_MASK" : 2,
	"SHIFT_MASK" : 4,
	"META_MASK" : 8
}

var ie8 = {
	"recordset" : {},
	"type" : "mousedown",
	"fromElement" : {},
	"toElement" : {},
	"altLeft" : false,
	"keyCode" : 0,
	"repeat" : false,
	"reason" : 0,
	"data" : "",
	"behaviorCookie" : 0,
	"source" : {},
	"contentOverflow" : false,
	"behaviorPart" : 0,
	"url" : "",
	"dataTransfer" : {},
	"ctrlKey" : false,
	"shiftLeft" : false,
	"dataFld" : "",
	"returnValue" : "undefined",
	"qualifier" : "",
	"wheelDelta" : 0,
	"bookmarks" : {},
	"button" : 1,
	"srcFilter" : {},
	"nextPage" : "",
	"cancelBubble" : false,
	"x" : 100,
	"y" : 24,
	"srcElement" : {},
	"screenX" : 945,
	"screenY" : 305,
	"srcUrn" : "",
	"origin" : "",
	"boundElements" : {},
	"clientX" : 100,
	"clientY" : 24,
	"propertyName" : "",
	"shiftKey" : false,
	"ctrlLeft" : false,
	"offsetX" : 100,
	"offsetY" : 24,
	"altKey" : false
}

/*
<html>
<head>
<script type="text/javascript">
function onMouseClick (event) {
  if(event) {
    result = "{";
    for(var key in event) {
      //console.log(key, event[key]);
      var tt = typeof event[key];
      result += "\"" + key + "\": ";
      if(!tt) {
        result += "undefined" + ", ";
      } else if(tt === "number" || tt === "boolean") {
        result += event[key] + ", ";
      } else if(tt === "object") {
        result += "{}, ";
      } else if(tt === "function") {
        result += "function () {}, ";
      } else {
        result += "\"" + event[key] + "\", ";
      }
    }
    result += "}";
    window.console.log(result);
    document.writeln(result);
  } else {
    window.console.log("Empty event");
  }
}
</script>
</head>
<body onmousedown="onMouseClick(event);" onmouseup="onMouseClick(event);">
The content of the body element is displayed in your browser.
</body>
</html>*/